package cn.edu.just.firstjavaapp.l12;

public class TimeDemo1 {
    public static void main(String[] args) {
        long start = System.currentTimeMillis(); //1970.1.1到现在的毫秒数
        for(long i=0;i<10000000000L;i++){
            int x =0;
            x++;
        }
        long end = System.currentTimeMillis();
        System.out.println((end-start)+"ms");
    }
}
